00001 00005 class OSGWindows; 00006 00007 class CommandPaste :public Command 00008 { 00009 private: 00010 00015 OSGWindows* osgwind_; 00016 00021 TrafficSign* sign; 00022 00027 TrafficLight* light; 00028 00033 Vehicle* vehicle; 00034 00039 EnvironmentObject* envObj; 00040 00045 vector<TraffEduObject*> pastedObjs_; 00046 00051 vector<TraffEduObject*> tmpObjs_; 00052 00057 char whichVector; 00058 00059 public: 00060 00067 CommandPaste(osg::Vec3 pos,OSGWindows* osgwind ); 00068 00073 bool execute(); 00074 00079 bool unexecute(); 00080 00081 };
1.4.6-NO